import React from 'react'
import Parent from './views/Parent'
import MyContext from './MyCxt'

export default function App() {
  return (
   <MyContext.Provider value={"来自于App的信息"}>
        <div>根组件</div>
        <hr />
        <Parent></Parent>
   </MyContext.Provider>
  )
}
